#ifndef __DL_OD_HANDLER__
#define __DL_OD_HANDLER__

#include "Type_Define.h"
#include "IO_LINK_Global_Param.h"
#include "DL_ISDU_Handler.h"
#include "DL_CH.h"
typedef enum{
  OD_Inactive_0,
  ISDU_1,
  Command_2,
  Event_3
}DL_OD_STATE_TYPE;

extern DL_OD_STATE_TYPE DL_OD_State[PORT_NUM];

void Event_ODTrig(uint8_t Port);

void Event_OH_Conf_ACTIVE(uint8_t Port);

void Event_OH_Conf_INACTIVE(uint8_t Port);
     
void Event_ODTrig( uint8_t Port);

void Event_Done_and_Not_EventActive( uint8_t Port);

void Event_DL_Control(uint8_t Port);
void Event_Done(uint8_t Port);
void Event_Done_and_EventActive(uint8_t Port);
 
void DL_OD_Init(void);
#endif



